package com.koron.css2.serviceManage.bean;

import com.fasterxml.jackson.annotation.JsonInclude;

import java.io.Serializable;
import java.util.List;

/**
 * 水司 授权范围
 * 
 * @author Zhuoyanxu
 *
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class TAuthorizationBean implements Serializable {
	/**
	 * 主键
	 */
	private String authorizationId;
	/**
	 * 水司编号
	 */
	private String companyCode;
	/**
	 * 部门（当前授权的属于哪个部门）
	 */
	private String department;
	/**
	 * 名称（部门展示值或者人员展示值）
	 */
	private String userName;
	/**
	 * 授权值（部门code或者loginid的code）
	 */
	private String authorizationValue;
	/**
	 * 授权类型1人员2部门
	 */
	private String authorizationType;
	/**
	 * 创建时间
	 */
	private String createTime;
	/**
	 * 创建人
	 */
	private String createName;
	/**
	 * 修改时间
	 */
	private String updateTime;
	/**
	 * 修改人
	 */
	private String updateName;

	private List<String> departments;
	
	public List<String> getDepartments() {
		return departments;
	}

	public void setDepartments(List<String> departments) {
		this.departments = departments;
	}

	private static final long serialVersionUID = 1L;

	public String getAuthorizationId() {
		return authorizationId;
	}

	public void setAuthorizationId(String authorizationId) {
		this.authorizationId = authorizationId;
	}

	public String getCompanyCode() {
		return companyCode;
	}

	public void setCompanyCode(String companyCode) {
		this.companyCode = companyCode;
	}

	public String getDepartment() {
		return department;
	}

	public void setDepartment(String department) {
		this.department = department;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getAuthorizationValue() {
		return authorizationValue;
	}

	public void setAuthorizationValue(String authorizationValue) {
		this.authorizationValue = authorizationValue;
	}

	public String getAuthorizationType() {
		return authorizationType;
	}

	public void setAuthorizationType(String authorizationType) {
		this.authorizationType = authorizationType;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getCreateName() {
		return createName;
	}

	public void setCreateName(String createName) {
		this.createName = createName;
	}

	public String getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}

	public String getUpdateName() {
		return updateName;
	}

	public void setUpdateName(String updateName) {
		this.updateName = updateName;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

}